import React from 'react'
import styles from './Swiper.module.css'
import carousel_1 from '../../asset/images/carousel_1.jpg'
import carousel_2 from '../../asset/images/carousel_2.jpg'
import carousel_3 from '../../asset/images/carousel_3.jpg'
import { Image, Carousel as AntCarousel } from 'antd'

export const Swiper: React.FC = () => {
  return (
    <AntCarousel autoplay className={styles.slider}>
      <Image src={carousel_1}></Image>
      <Image src={carousel_2}></Image>
      <Image src={carousel_3}></Image>
    </AntCarousel>
  )
}
